import { axios } from '@/utils/request'

export function select(parameter) {
  return axios({
    url: '/pc/activity/select/' + parameter,
    method: 'get'
  })
}

export function selectPage(parameter) {
  return axios({
    url: '/pc/activity/selectPage/' + parameter.pageNum + "/" + parameter.pageSize,
    method: 'post',
    data: parameter
  })
}

export function save(parameter) {
  return axios({
    url: '/pc/activity/save',
    method: 'post',
    data: parameter
  })
}
export function push(parameter) {
  return axios({
    url: '/pc/activity/push',
    method: 'post',
    data: parameter
  })
}

export function del(parameter) {
  return axios({
    url: '/pc/activity/delete/' + parameter,
    method: 'get'
  })
}



